﻿using System;
using System.Collections.Generic;

namespace DTcms.Model
{
    /// <summary>
    /// ch_guanzhu
    /// </summary>
    [Serializable]
	public partial class stone_orders
    {
	    public stone_orders()
        { }
        #region Model
        private Guid _id;
        private string _orderno;
        private int _userid;
        private string _username;
        private string _userphone;
        private decimal? _payment_fee;
        private int? _payment_status;
        private DateTime? _payment_time;
        private string _express_no;
        private decimal? _express_fee;
        private int? _express_status;
        private DateTime? _express_time;
        private string _express_man;
        private string _express_phone;
        private string _accept_name;
        private string _accept_phone;
        private DateTime? _accept_time;
        private string _province;
        private string _city;
        private string _district;
        private string _address;
        private string _post_code;
        private string _remark;
        private decimal? _invoice_taxes;
        private decimal? _payable_amount;
        private decimal? _real_amount;
        private decimal? _order_amount;
        private int? _total_quantity;
        private int? _status;
        private DateTime? _add_time;
        private DateTime? _confirm_time;
        private DateTime? _complete_time;
        private decimal? _extend1;
        private decimal? _extend2;
        private string _extend3;
        private string _extend4;
        private string _extend5;
        private string _extend6;
        /// <summary>
        /// 
        /// </summary>
        public Guid id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 唯一订单号
        /// </summary>
        public string orderNo
        {
            set { _orderno = value; }
            get { return _orderno; }
        }
        /// <summary>
        /// 关联用户表ID
        /// </summary>
        public int userId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string userName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 用户手机号
        /// </summary>
        public string userPhone
        {
            set { _userphone = value; }
            get { return _userphone; }
        }
        /// <summary>
        /// 付款金额
        /// </summary>
        public decimal? payment_fee
        {
            set { _payment_fee = value; }
            get { return _payment_fee; }
        }
        /// <summary>
        /// 付款状态：0未支付，1已支付，2支付失败，
        /// </summary>
        public int? payment_status
        {
            set { _payment_status = value; }
            get { return _payment_status; }
        }
        /// <summary>
        /// 付款时间
        /// </summary>
        public DateTime? payment_time
        {
            set { _payment_time = value; }
            get { return _payment_time; }
        }
        /// <summary>
        /// 运单号
        /// </summary>
        public string express_no
        {
            set { _express_no = value; }
            get { return _express_no; }
        }
        /// <summary>
        /// 运费
        /// </summary>
        public decimal? express_fee
        {
            set { _express_fee = value; }
            get { return _express_fee; }
        }
        /// <summary>
        /// 运送状态 0：未发货，1已发货，2已签收，3已结束
        /// </summary>
        public int? express_status
        {
            set { _express_status = value; }
            get { return _express_status; }
        }
        /// <summary>
        /// 发货时间
        /// </summary>
        public DateTime? express_time
        {
            set { _express_time = value; }
            get { return _express_time; }
        }
        /// <summary>
        /// 送货人
        /// </summary>
        public string express_man
        {
            set { _express_man = value; }
            get { return _express_man; }
        }
        /// <summary>
        /// 送货人电话
        /// </summary>
        public string express_phone
        {
            set { _express_phone = value; }
            get { return _express_phone; }
        }
        /// <summary>
        /// 收货人
        /// </summary>
        public string accept_name
        {
            set { _accept_name = value; }
            get { return _accept_name; }
        }
        /// <summary>
        /// 收货人电话
        /// </summary>
        public string accept_phone
        {
            set { _accept_phone = value; }
            get { return _accept_phone; }
        }
        /// <summary>
        /// 收货时间
        /// </summary>
        public DateTime? accept_time
        {
            set { _accept_time = value; }
            get { return _accept_time; }
        }
        /// <summary>
        /// 省份
        /// </summary>
        public string province
        {
            set { _province = value; }
            get { return _province; }
        }
        /// <summary>
        /// 城市
        /// </summary>
        public string city
        {
            set { _city = value; }
            get { return _city; }
        }
        /// <summary>
        /// 区县
        /// </summary>
        public string district
        {
            set { _district = value; }
            get { return _district; }
        }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// 邮政编码
        /// </summary>
        public string post_code
        {
            set { _post_code = value; }
            get { return _post_code; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 税费
        /// </summary>
        public decimal? invoice_taxes
        {
            set { _invoice_taxes = value; }
            get { return _invoice_taxes; }
        }
        /// <summary>
        /// 实际支付金额，实际已支付金额，可以记录定金
        /// </summary>
        public decimal? payable_amount
        {
            set { _payable_amount = value; }
            get { return _payable_amount; }
        }
        /// <summary>
        /// 订单实际金额，减去折扣与优惠的金额
        /// </summary>
        public decimal? real_amount
        {
            set { _real_amount = value; }
            get { return _real_amount; }
        }
        /// <summary>
        /// 订单总金额，未折扣为优惠的实际总金额
        /// </summary>
        public decimal? order_amount
        {
            set { _order_amount = value; }
            get { return _order_amount; }
        }
        /// <summary>
        /// 订单总数量 只记录，不参与总金额计算  为明细表的quantity字段累计
        /// </summary>
        public int? total_quantity
        {
            set { _total_quantity = value; }
            get { return _total_quantity; }
        }
        /// <summary>
        /// 订单状态 ：0 草稿，1已提交，2已支付，3已发货，4已完成
        /// </summary>
        public int? status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? add_time
        {
            set { _add_time = value; }
            get { return _add_time; }
        }
        /// <summary>
        /// 提交时间
        /// </summary>
        public DateTime? confirm_time
        {
            set { _confirm_time = value; }
            get { return _confirm_time; }
        }
        /// <summary>
        /// 订单结束时间
        /// </summary>
        public DateTime? complete_time
        {
            set { _complete_time = value; }
            get { return _complete_time; }
        }
        /// <summary>
        /// 备用字段 ，数字保留两位小数
        /// </summary>
        public decimal? extend1
        {
            set { _extend1 = value; }
            get { return _extend1; }
        }
        /// <summary>
        /// 备用字段 ，数字保留两位小数
        /// </summary>
        public decimal? extend2
        {
            set { _extend2 = value; }
            get { return _extend2; }
        }
        /// <summary>
        /// 备用字段 ，文本
        /// </summary>
        public string extend3
        {
            set { _extend3 = value; }
            get { return _extend3; }
        }
        /// <summary>
        /// 备用字段 ，文本
        /// </summary>
        public string extend4
        {
            set { _extend4 = value; }
            get { return _extend4; }
        }
        /// <summary>
        /// 备用字段 ，文本
        /// </summary>
        public string extend5
        {
            set { _extend5 = value; }
            get { return _extend5; }
        }
        /// <summary>
        /// 备用字段 ，文本
        /// </summary>
        public string extend6
        {
            set { _extend6 = value; }
            get { return _extend6; }
        }
        #endregion Model
    }
}